package pun.potato;

public class Preferences {

	//url of localhost
	private static final String DEBUG_URL = "http://10.0.2.2/punpotato/";
	//url of actual server
	private static final String LIVE_URL = "http://www.kwipp.com/pundamonium/php/";
	private static boolean debug = false; //simply change this to false to test on the live server
	
	
	public static String GetURL(){
		
		if(debug){
			return DEBUG_URL;
		}
		else{
			return LIVE_URL;
		}
		
	} 
	
	public static String GetLiveServerPreferences(){
		if(debug){
			return "&loginname=root&loginpassword=&url=localhost&database=kwippdb";
		}
		else{
			return "&loginname=kwipp_admin&loginpassword=328x4_5y934&url=www.kwipp.com&database=kwipp_maindb";
		}
	}
	
}
